﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Adminyemian/Admin.Master" AutoEventWireup="true" CodeBehind="adminxinxibianji.aspx.cs" Inherits="zlh.Adminyemian.adminxinxibianji" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label1" runat="server" CssClass="word" Text="学号："></asp:Label>
    <asp:TextBox ID="infoNo" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;
    <asp:Button ID="readbtn" runat="server" CssClass="button" Text="查询" OnClick="readbtn_Click" />
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label2" runat="server" CssClass="word" Text="姓名："></asp:Label>
    <asp:TextBox ID="infoname" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label3" runat="server" CssClass="word" Text="性别："></asp:Label>
    <asp:TextBox ID="infogender" runat="server" CssClass="textbox"></asp:TextBox>
    </p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label4" runat="server" CssClass="word" Text="年龄："></asp:Label>
    <asp:TextBox ID="infoage" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label5" runat="server" CssClass="word" Text="学院："></asp:Label>
    <asp:TextBox ID="infocol" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label6" runat="server" CssClass="word" Text="专业："></asp:Label>
    <asp:TextBox ID="infomaj" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label7" runat="server" CssClass="word" Text="班级："></asp:Label>
    <asp:TextBox ID="infocla" runat="server" CssClass="textbox"></asp:TextBox>
    </p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label8" runat="server" CssClass="word" Text="备注："></asp:Label>
    <asp:TextBox ID="infomem" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:Label ID="Label9" runat="server" CssClass="word" Text="地址："></asp:Label>
    <asp:TextBox ID="infoadd" runat="server" CssClass="textbox"></asp:TextBox>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </p>
    <p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <asp:Button ID="upbtn" runat="server" CssClass="button" Text="更新" OnClick="upbtn_Click" />
&nbsp;
        <asp:Button ID="Button3" runat="server" CssClass="button" Text="删除" OnClick="Button3_Click" />
&nbsp;
        <asp:Button ID="Button4" runat="server" CssClass="button" OnClick="Button4_Click" Text="添加" />
&nbsp;
        <asp:Label ID="lblInfo" runat="server" CssClass="lable"></asp:Label>
    </p>
<p>
    <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:dhd2014112130ConnectionString3 %>" SelectCommand="SELECT * FROM [StudentInformation]"></asp:SqlDataSource>
</p>
<p>
    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="stuNo" DataSourceID="SqlDataSource1" AllowPaging="True" Width="967px">
        <Columns>
            <asp:BoundField DataField="stuNo" HeaderText="stuNo" ReadOnly="True" SortExpression="stuNo" />
            <asp:BoundField DataField="stuName" HeaderText="stuName" SortExpression="stuName" />
            <asp:BoundField DataField="Gender" HeaderText="Gender" SortExpression="Gender" />
            <asp:BoundField DataField="Age" HeaderText="Age" SortExpression="Age" />
            <asp:BoundField DataField="College" HeaderText="College" SortExpression="College" />
            <asp:BoundField DataField="Major" HeaderText="Major" SortExpression="Major" />
            <asp:BoundField DataField="Class" HeaderText="Class" SortExpression="Class" />
            <asp:BoundField DataField="Memo" HeaderText="Memo" SortExpression="Memo" />
            <asp:BoundField DataField="Address" HeaderText="Address" SortExpression="Address" />
        </Columns>
        <HeaderStyle CssClass="gridxiewHeaderstyle" />
        <RowStyle CssClass="gridviewrowstyle" />
    </asp:GridView>
    &nbsp;</p>
</asp:Content>
